import request from '@/utils/network/request';
import serviceUri from '@/utils/configUrl';

const { apiUrl } = serviceUri;

export const loginFun = data => request.post(`${apiUrl}/login`, data);
export const userinfoFun = data => request.post(`${apiUrl}/getinfo`, data);
